package com.example.day03;

/**
 * @author Lenovo
 */
public class Demo2 {
    public static void main(String[] args){
        System.out.println("HelloWorld");
        System.out.println("HelloWorld");
        System.out.println("HelloWorld");
        System.out.println("HelloWorld");
        System.out.println("HelloWorld");
        System.out.println("--------");

        //用循环改进
        for(int i=1;i<=5;i++){
            System.out.println("HelloWorld");
        }
    }
}

